package com.fishery.base.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ghost
 * @since 2021-01-15
 */
@TableName("t_germchit_management")
@ApiModel(value="GermchitManagement对象", description="")
public class GermchitManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "种苗编号")
    private String germchitId;

    @ApiModelProperty(value = "基地编号")
    private String baseId;

    @ApiModelProperty(value = "种苗数量(尾)")
    private Integer germchitNumber;

    @ApiModelProperty(value = "种苗剩余数量(尾)")
    private Integer germchitSurplusNumber;

    @ApiModelProperty(value = "版本号（乐观锁）")
    @Version
    @TableField(fill = FieldFill.INSERT)
    private Integer version;

    @ApiModelProperty(value = "逻辑删除（0未删除，1删除）")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGermchitId() {
        return germchitId;
    }

    public void setGermchitId(String germchitId) {
        this.germchitId = germchitId;
    }

    public String getBaseId() {
        return baseId;
    }

    public void setBaseId(String baseId) {
        this.baseId = baseId;
    }

    public Integer getGermchitNumber() {
        return germchitNumber;
    }

    public void setGermchitNumber(Integer germchitNumber) {
        this.germchitNumber = germchitNumber;
    }

    public Integer getGermchitSurplusNumber() {
        return germchitSurplusNumber;
    }

    public void setGermchitSurplusNumber(Integer germchitSurplusNumber) {
        this.germchitSurplusNumber = germchitSurplusNumber;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }


}
